In mathematics the modularity theorem (formerly called the Taniyama?Shimura?Weil conjecture and several related names) states that elliptic curves over the field of rational numbers are related to modular forms. Andrew Wiles proved the modularity theorem for semistable elliptic curves, which was enough to imply Fermat's last theorem, and Christophe Breuil, Brian Conrad, Fred Diamond, and Richard Taylor extended his techniques to prove the full modularity theorem in 2001.